#include <stdio.h>
int main()
{
 double h=100;
 int n=10;
 int i;
 double l=h/2;
 for(i=2;i<=n;i++)
 {h=h+2*l;
  l=l/2;
 }
 printf("it totaly fall:%lf m",h);
printf("\n");
 printf("in 10th,it fall: %lfm",l);
 return 0;
}